package com.raymond.cmpp.config;

import com.raymond.client.config.ClientSocketConfig;

/**
 * @author :  raymond
 * @version :  V1.0
 * @date :  2022-11-04 15:43
 */
public class CmppClientSocketConfig extends ClientSocketConfig {
    private String sourceAddr;
    private String password;
    private int version;
    public CmppClientSocketConfig(String id, int windowSize, String host, int port, String sourceAddr, String password) {
        this(id, windowSize, host, port, sourceAddr, password, 0X20);
    }
    public CmppClientSocketConfig(String id, int windowSize, String host, int port, String sourceAddr, String password, int version) {
        super(id, windowSize, host, port);
        this.sourceAddr = sourceAddr;
        this.password = password;
        this.version = version;
    }

    public String getSourceAddr() {
        return sourceAddr;
    }

    public String getPassword() {
        return password;
    }

    public int getVersion() {
        return version;
    }
}
